package com.ext.aic.beans.response;

import com.ext.aic.beans.Attachment;
import com.ext.aic.beans.TagItem;
import com.ext.aic.enums.ContentType;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContentDetailResponse implements Serializable {

    //内容的唯一标识
    private String id;

    //内容标题
    private String title;

    //内容类型，支持纯文本(text)和Markdown
    private ContentType contentType;

    //内容主体，存储原始文本或 Markdown 源码
    private String body;

    //推荐理由
    private String recommendReason;

    //创建者用户的ID
    private String createdBy;

    //内容标签列表
    private List<String> labels;

    //标签列表
    private List<TagItem> tags;

    //附件列表
    private List<Attachment> attachments;
}
